<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">筑梦团队</a-layout-footer>
    </a-layout>
  </div>
</template>
<script setup name="basicLayout" lang="ts">
import { ref } from "vue";
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>
<style scoped>
#basicLayout {
  width: 100%;
}

#basicLayout .header {
  margin-bottom: 15px;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  text-align: left;
  z-index: 100;
  background-color: white;
}

#basicLayout .content {
  margin-bottom: 15px;
}

#basicLayout .footer {
  padding: 5px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background-color: white;
  z-index: 100;
}
</style>
